# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libdc1394
pkgver=2.2.6
pkgrel=2
pkgdesc="High level programming interface to control IEEE 1394 based cameras"
arch=('x86_64')
license=('LGPL')
url="https://sourceforge.net/projects/libdc1394/"
depends=('libraw1394' 'libusb')
options=('!emptydirs')
source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('2b905fc9aa4eec6bdcf6a2ae5f5ba021232739f5be047dec8fe8dd6049c10fed')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="${pkgdir}" install
}
